package com.my.dao;

import java.math.BigInteger;
import java.util.List;

import com.my.bean.OrderAccepted;

public interface OrderAcceptedDAO {

	boolean addOrderAccepted(OrderAccepted orderaccepted) throws Exception;

	OrderAccepted getOrderAcceptedById(Class<OrderAccepted> c, Integer id)
			throws Exception;

	BigInteger getTotalOrderAcceptedRecords() throws Exception;

	List<OrderAccepted> getAllOrderAcceptedByPage(int pageindex, int pagesize)
			throws Exception;

	BigInteger searchTotalOrderAcceptedRecords(OrderAccepted orderaccepted)
			throws Exception;

	List<OrderAccepted> searchOrderAcceptedByPage(int pageindex, int pagesize,
			OrderAccepted orderaccepted) throws Exception;
}
